<div class="zdssvs index">
	<h2><?php __('Danh sách các chi đoàn sinh viên');?></h2>
    <?php echo $this->Form->create('Zdssv',array('action'=>'multiexp'));?>
	<table cellpadding="0" cellspacing="0">
	<tr>
            <th><?php echo $this->Form->checkbox('all',array('id'=>'checkallduyet')) ;?></th>
			<th><?php __('STT');?></th>
			<th><?php __('MSCĐ');?></th>
            <th><?php __('Tên Chi Đoàn');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($cds as $cd):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
        <td><?php echo $this->Form->checkbox('Zdssv.cdid.'.$cd['Chidoansv']['id'],array('class'=>'duyet'));?></td>
		<td>
			<?php echo $i; ?>
		</td>
		<td><?php echo $cd['Chidoansv']['machidoansv']; ?>&nbsp;</td>
        <td><?php echo $cd['Chidoansv']['tenchidoan']; ?>&nbsp;</td>
	</tr>
<?php endforeach; ?>
	</table>
    <?php echo $this->Form->end('Submit');?>
    <?php echo $this->Html->link(__('Export', true), array('controller'=>'zdssvs','action' => 'dssv')); ?>
</div>